package comtwo.servlet.impl;

import comtwo.dao.accountdaoImpl2;
import comtwo.servlet.someservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service("some")
public class someserviceImpl implements someservice {
    @Autowired
    private comtwo.dao.accountdao accountdao=null;

    public comtwo.dao.accountdao getAccountdao() {
        return accountdao;
    }

    public void setAccountdao(comtwo.dao.accountdao accountdao) {
        this.accountdao = accountdao;
    }

    @Override
    public void addUser() {
        accountdao.select();
    }
}
